FROM python:3.11
LABEL authors="cuihaohao"

#镜像操作命令
WORKDIR /app

COPY . .
COPY requirements.txt .
#将etc/localtime链接到上海市区
RUN pip install --no-cache-dir -r requirements.txt -i https://pypi.mirrors.ustc.edu.cn/simple/

EXPOSE 5000

#CMD命令
CMD ["python", "./app.py"]

